<template>
	<view>
		<dsl-navbar title="动态消息" bgTopImg="white" isBack></dsl-navbar>
		<view class="rowsb align-center padding">
			<view class="align-center ">
				<view>谁看过我</view>
				<view class="margin-left-xl">
					<image src="https://img0.baidu.com/it/u=3928903079,1184629296&fm=26&fmt=auto" mode="aspectFill"
						v-for="(item,index) in 4" class="head_image"></image>
				</view>
			</view>
			<view class="text-gray">
				<text>全部</text>
				<text class="cuIcon-right"></text>
				<text class="cuIcon-right"></text>
			</view>
		</view>
		<view class="message_body solid-bottom">
			<view class="align-center">
				<image src="https://img1.baidu.com/it/u=3676121063,1443571749&fm=26&fmt=auto" mode="aspectFill"
					class="head_images" @click.stop="chatHome(item)"></image>
				<view class="margin-left ">
					<view class="title one_overflow">亿晨</view>
					<view class="align-center margin-tb-sm justify-between">
						<view class="content one_overflow">真好看，可以交个朋友吗...</view>
						<view class="time">10:22</view>
					</view>
					<view>
						<image src="../../static/message/imgdianzan-1.png" mode="" class="icon"></image>
						<!-- <image src="../../static/message/imgdianzan.png" mode="" class="icon margin-left"></image> -->
						<image src="../../static/message/imgxingxing.png" mode="" class="icon margin-left"></image>
						<!-- <image src="../../static/message/imgxingxing-5.png" mode="" class="icon margin-left"></image> -->
					</view>
				</view>
			</view>
			<image src="https://img0.baidu.com/it/u=3724467351,499208048&fm=26&fmt=auto" mode="aspectFill"
				class="image"></image>
		</view>

	</view>
</template>

<script>
	export default{
		data(){
	    	return{
	  	  
	   	 }
	},
			//生命周期函数
			onReady() {},
			onLoad() {},
			onShow() {},
			methods:{
				chatHome(){
					uni.navigateTo({
						url:'/pages/message/userHome/index'
					})
				}
				
			},
			computed:{},
			components:{}
	}
</script>

<style lang="scss">
	//顶部头像
	.head_image {
		width: 80rpx;
		height: 80rpx;
		border-radius: 50%;
		opacity: 1;
		margin-left: -27rpx;
	}

	.message_body {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 30rpx;

		.head_images {
			width: 88rpx;
			height: 88rpx;
			background: #FF8F2E;
			border-radius: 50%;
		}

		.title {
			width: 328rpx;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #333333;
			opacity: 1;
		}

		.content {
			width: 283rpx;
			font-size: 24rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #9AA2B5;
			opacity: 1;
		}

		.time {
			font-size: 20rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #B7BED8;
			opacity: 1;
		}

		.icon {
			width: 30rpx;
			height: 30rpx;
		}

		.image {
			width: 150rpx;
			height: 150rpx;
			border-radius: 7rpx;
		}
	}
</style>
